﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using ClassQuery;


public partial class keydealer : System.Web.UI.Page
{


DataTable dt = new DataTable();

    protected void Page_Load(object sender, EventArgs e)
    {

        
        dt = new DataTable();
       dt.Columns.Add("Name");
      dt.Columns.Add("Number");

       DataRow dr = dt.NewRow();
        dr["Name"] = "1";
       dr["Number"] = "2";
       dt.Rows.Add(dr);

       DataRow drd = dt.NewRow();
       drd["Name"] = "1";
       drd["Number"] = "2";
       dt.Rows.Add(drd);
      //  dr["Name"] = "a";
       // dr["Number"] = "b";
     //   dt.Rows.Add("ddd","dddd");
       // DataRow dr = dt.NewRow();
        //dr["Name"] = "a";
       // dr["Number"] = "b";
     //   dt.Rows.Add(dr);
//
        GridView1.DataSource = dt;
        GridView1.DataBind();


        GridView_Data.DataSource = dt;
        GridView_Data.DataBind();


         



        // GridView3.DataSource = Query.Query_user();
        // GridView3.DataBind();

     // lbl_total.Text = GridView3.Rows[1].Cells[2].Text;
     // lbl_total.Text = "5555";

    }





}